package com.wmapp.domain;
/**
 * Network information domain
 * @author dengl
 *
 */
public class NetworkAddress {
	private String if0ip;
	private String if0mask;
	private String if0gw;
	private String if0name;
	private String if0mac;
	private boolean hasif1;
	private String if1ip;
	private String if1mask;
	private String if1gw;
	private String if1name;
	private String if1mac;

	private String nameserver1;
	private String nameserver2;
	
	public final static String[] SAVE_FIELDS={"if0ip","if0mask","if0gw","if0mac","if1ip","if1mask","if1gw","if1mac","nameserver1","nameserver2"};
	
	public String getIf0ip() {
		return if0ip;
	}

	public void setIf0ip(String if0ip) {
		this.if0ip = if0ip;
	}

	public String getIf0mask() {
		return if0mask;
	}

	public void setIf0mask(String if0mask) {
		this.if0mask = if0mask;
	}

	public String getIf0gw() {
		return if0gw;
	}

	public void setIf0gw(String if0gw) {
		this.if0gw = if0gw;
	}

	public String getIf0name() {
		return if0name;
	}

	public void setIf0name(String if0name) {
		this.if0name = if0name;
	}

	public String getIf0mac() {
		return if0mac;
	}

	public void setIf0mac(String if0mac) {
		this.if0mac = if0mac;
	}

	public boolean isHasif1() {
		return hasif1;
	}

	public void setHasif1(boolean hasif1) {
		this.hasif1 = hasif1;
	}

	public String getIf1ip() {
		return if1ip;
	}

	public void setIf1ip(String if1ip) {
		this.if1ip = if1ip;
	}

	public String getIf1mask() {
		return if1mask;
	}

	public void setIf1mask(String if1mask) {
		this.if1mask = if1mask;
	}

	public String getIf1gw() {
		return if1gw;
	}

	public void setIf1gw(String if1gw) {
		this.if1gw = if1gw;
	}

	public String getIf1name() {
		return if1name;
	}

	public void setIf1name(String if1name) {
		this.if1name = if1name;
	}

	public String getIf1mac() {
		return if1mac;
	}

	public void setIf1mac(String if1mac) {
		this.if1mac = if1mac;
	}

	public String getNameserver1() {
		return nameserver1;
	}

	public void setNameserver1(String nameserver1) {
		this.nameserver1 = nameserver1;
	}

	public String getNameserver2() {
		return nameserver2;
	}

	public void setNameserver2(String nameserver2) {
		this.nameserver2 = nameserver2;
	}

}
